# Description: Glib için perl bağlayıcısı
# URL: http://www.gtkperl.org
# Packager: milisarge
# Depends on: perl-extutils-depends gobject-introspection perl-extutils-pkgconfig 

name=perl-glib
version=1.304
release=1

source=(https://github.com/gitpan/Glib/archive/cpan_path/XAOC/Glib-$version.tar.gz.tar.gz)

build() {
	cd Glib-cpan_path-XAOC-Glib-$version.tar.gz
	perl Makefile.PL
	make
	make DESTDIR=$PKG install
	find $PKG \
	-name perllocal.pod \
	-o -name .packlist | xargs rm 
	rm $PKG -empty | xargs rmdir -p ||:
}
